"""
Exemple de tests unitaires
"""

import unittest
import Gui

class Test1(unittest.TestCase):
    def testVrai(self):
        a = 1
        b = 2
        resultat = a+b 
        attendu = 3
        self.assertEqual(resultat, attendu)
	# test lecture du fichier
	trianglelist= []
	trianglelist= Gui.createtriangles("cube.raw")
	self.assertEqual(trianglelist[0].point1.x, 1.0)
        
if __name__ == '__main__':
    unittest.main()
    
    
